
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;


public class ConnectionFactory {
	public Connection getConnection(String strConnection, String user, String password) {
		try {
			return DriverManager.getConnection(strConnection, user, password);
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}
}
